import {CURRENT_ORDER_CANCEL, CURRENT_ORDER_JOIN} from "../contants/actionTypes";

export const cancel = (id) => ({
    type: CURRENT_ORDER_CANCEL,
    id
});
export const join = (id) => ({
    type: CURRENT_ORDER_JOIN,
    id
});